package chp10.score;

public class TestScoreCalc2 {

    public static void main(String[] args) {
        ScoreCalc scoreCalc = new ScoreCalc();
        scoreCalc.english = 10;
//        scoreCalc.math = 20;
//        scoreCalc.chinese = 30;
        System.out.println("总和:" + scoreCalc.getTotal());
        System.out.println("平均:" + scoreCalc.getAvg());

//        System.out.println(scoreCalc.english);
    }
}
